import request from './http'
/**
 * 获取搜索的结构
 * @params 
 * @params bookId 书籍bookId
 * 
 */
export function getSearchResult(params) {
	return request({
		url: "/yunyuedu/search/searchHint",
		method: 'get',
		params
	})
}
/**
 * 获热门搜索
 * @params 
 * @params 
 * 
 */
export function getHotSearch() {
	return request({
		url: "/yunyuedu/search/getHotWords",
		method: 'get'
	})
}
